<?php 
// mail sent when the file has been quoted
function tb_trser_market_customer_mail_file_quoted(){
	$mail_text = __('Hello','tb_trser_market')."\n";
	$mail_text .= __('The file you have uploaded for translation has been quoted.','tb_trser_market')."\n";
	$mail_text .= __('Please go to www.linguisticguide.com/wp-admin/admin.php?page=tbtranslationservicesmarketplace/tbtranslationservicesmarketplace.php to place the order for this translation (by clicking \"Accept\"). If you need a faster delivery time, please write an e-mail to us at contact@linguisticguide.com and we will do our best to accommodate your request.','tb_trser_market')."\n";
	$mail_text .= __('Please note that this may mean we will have to apply a surcharge.','tb_trser_market')."\n";
	$mail_text .= "________________________________\n";
	$mail_text .= __('Best regards,','tb_trser_market')."\n";
	$mail_text .= __('The Linguistic Guide team','tb_trser_market');
	return $mail_text;
}

// mail sent when the file has been translated
function tb_trser_market_customer_mail_file_translated($file_url){
	$mail_text = __('Hello','tb_trser_market')."\n";
	$mail_text .= __('Your file has been translated, please go to ','tb_trser_market').$file_url.__(' to download it. With the file download, you acknowledge the receipt of the translation.','tb_trser_market')."\n";
	$mail_text .= __('Please note that the invoice needs to be paid within 60 days from the date of the translation delivery.','tb_trser_market')."\n";
	$mail_text .= __('We would appreciate your feedback to us on the quality of the translation we have submitted. Please go to www.linguisticguide.com/wp-admin/admin.php?page=tbtranslationservicesmarketplace/tbtranslationservicesmarketplace.php and fill in the questionnaire.','tb_trser_market')."\n";
	$mail_text .= __('Thank you for your order and do not hesitate to contact us for further questions.','tb_trser_market')."\n\n";
	$mail_text .= "________________________________\n";
	$mail_text .= __('Best regards,','tb_trser_market')."\n";
	$mail_text .= __('The Linguistic Guide team','tb_trser_market');
	return $mail_text;
}

// mail sent foe new accounts
function tb_trser_market_customer_mail_new_account($password){
	$mail_text = __('Welcome to Linguistic Guide!','tb_trser_market')."\n";
	$mail_text .= __('Your initial password is','tb_trser_market').$password."\n";
	$mail_text .= __('You can change it at any time from your profile (roll-over the site bar on the upper right side of the screen and click on \"Edit My Profile\".','tb_trser_market');
	$mail_text .= __('Once you are logged in, you will be able to:','tb_trser_market')."\n";
	$mail_text .= __('- manage all your files from our server (see what files have been translated, are currently in quotation, in work or canceled)','tb_trser_market')."\n";
	$mail_text .= __('- submit files for quotation','tb_trser_market')."\n";
	$mail_text .= __('- accept / cancel quotations','tb_trser_market')."\n";
	$mail_text .= __('- download translated files','tb_trser_market')."\n";
	$mail_text .= __('- send purchase orders ','tb_trser_market')."\n";
	$mail_text .= __('If you have any questions, don\'t hesitate to contact us at: contact@linguisticguide.com','tb_trser_market')."\n";
	$mail_text .= __('Best regards,','tb_trser_market')."\n";
	$mail_text .= __('The Linguistic Guide team','tb_trser_market')."\n";
	return $mail_text;
}
?>